<?php /* Smarty version 2.6.19, created on 2013-02-27 19:40:52
         compiled from edituserform.tpl */ ?>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "header.tpl", 'smarty_include_vars' => array('jsload' => 'ajax')));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>

<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "tabsmenue-user.tpl", 'smarty_include_vars' => array('edittab' => 'active')));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
<div id="content-left">
<div id="content-left-in">
<div class="user">

<h1><?php echo $this->_config[0]['vars']['edituser']; ?>
<span>/ <?php echo $this->_tpl_vars['user']['name']; ?>
</span></h1>

<div class="userwrapper">
<form novalidate class="main" method="post" action="manageuser.php?action=edit" enctype="multipart/form-data" <?php echo 'onsubmit="return validateCompleteForm(this,\'input_error\');"'; ?>
>
<fieldset>


<table cellpadding="0" cellspacing="0" border="0">
<tr>
	<td class="avatarcell" valign="top">

	<?php if ($this->_tpl_vars['user']['avatar'] != ""): ?>
	<a href="#avatarbig" id="ausloeser">
		<div class="avatar-profile"><img src = "thumb.php?pic=files/<?php echo $this->_tpl_vars['cl_config']; ?>
/avatar/<?php echo $this->_tpl_vars['user']['avatar']; ?>
&amp;width=122;" alt="" /></div>
	</a>
	<?php else: ?>
		<?php if ($this->_tpl_vars['user']['gender'] == 'f'): ?>
		<div class="avatar-profile"><img src = "thumb.php?pic=templates/standard/images/no-avatar-female.jpg&amp;width=122;" alt="" /></div>
		<?php else: ?>
		<div class="avatar-profile"><img src = "thumb.php?pic=templates/standard/images/no-avatar-male.jpg&amp;width=122;" alt="" /></div>
		<?php endif; ?>
	<?php endif; ?>


	<div id="avatarbig" style="display:none;">
		<a href="javascript:Control.Modal.close();"><img src = "thumb.php?pic=files/<?php echo $this->_tpl_vars['cl_config']; ?>
/avatar/<?php echo $this->_tpl_vars['user']['avatar']; ?>
&amp;width=480&amp;height=480;" alt="" /></a>
	</div>

</td><td>

	<div class="message">
		<div class="block">
			<table cellpadding="0" cellspacing="0" border="0">

				<colgroup>
					<col class="a" />
					<col class="b" />
				</colgroup>

				<thead><tr><th colspan="2"></th></tr></thead>
				<tfoot><tr><td colspan="2"></td></tr></tfoot>

				<tbody class="color-a">
					<tr>
						<td><label for = "name"><?php echo $this->_config[0]['vars']['user']; ?>
:</label></td>
						<td class="right"><input type = "text" class="text" value = "<?php echo $this->_tpl_vars['user']['name']; ?>
" name = "name" id="name" required="1" realname="<?php echo $this->_config[0]['vars']['name']; ?>
" tabindex="1" /></td>
					</tr>
				</tbody>

				<tbody class="color-b">
					<tr>
						<td><label for = "avatar"><?php echo $this->_config[0]['vars']['avatar']; ?>
:</label></td>
						<td class="right">
							<div class="fileinput" >
								<input type="file" class="file" name = "userfile" id="avatar"  realname="<?php echo $this->_config[0]['vars']['file']; ?>
" size="19" onchange = "file_<?php echo $this->_tpl_vars['myprojects'][$this->_sections['project']['index']]['ID']; ?>
.value = this.value;"  tabindex="2" />
								<table class = "faux" cellpadding="0" cellspacing="0" border="0">
									<tr>
									<td><input type="text" class="text-file" name = "file-$myprojects[project].ID" id="file_<?php echo $this->_tpl_vars['myprojects'][$this->_sections['project']['index']]['ID']; ?>
"></td>
									<td class="choose"><button class="inner" onclick="return false;"><?php echo $this->_config[0]['vars']['chooseone']; ?>
</button></td>
									</tr>
								</table>
							</div>
						</td>
					</tr>
				</tbody>

				
				<tbody class="color-b">
					<tr>
						<td><label for = "company"><?php echo $this->_config[0]['vars']['company']; ?>
:</label></td>
						<td class="right">
							<input type = "text" name = "company" id = "company" value = "<?php echo $this->_tpl_vars['user']['company']; ?>
" />
						</td>
					</tr>
				</tbody>

			

				<tbody class="color-a">
					<tr>
						<td><label for="tel1"><?php echo $this->_config[0]['vars']['phone']; ?>
:</label></td>
						<td class="right"><input type = "text" class="text" value = "<?php echo $this->_tpl_vars['user']['tel1']; ?>
" name = "tel1" id="tel1"  /></td>
					</tr>
				</tbody>

							
				<tbody class="color-b">
					<tr>
						<td><label for="gender"><?php echo $this->_config[0]['vars']['gender']; ?>
:</label></td>
						<td class="right">
						<select name = "gender" id = "gender" realname = "<?php echo $this->_config[0]['vars']['gender']; ?>
" />
							<?php if ($this->_tpl_vars['user']['gender'] == ""): ?>
							<option value = "" selected><?php echo $this->_config[0]['vars']['chooseone']; ?>
</option>
							<?php endif; ?>
							<option <?php if ($this->_tpl_vars['user']['gender'] == 'm'): ?>selected="selected"<?php endif; ?> value = "m"><?php echo $this->_config[0]['vars']['male']; ?>
</option>
							<option <?php if ($this->_tpl_vars['user']['gender'] == 'f'): ?>selected="selected"<?php endif; ?> value = "f"><?php echo $this->_config[0]['vars']['female']; ?>
</option>
						</select>
						</td>
					</tr>
				</tbody>


				<input type = "hidden" name = "admin" value = "<?php echo $this->_tpl_vars['user']['admin']; ?>
" />

				<tbody class="color-b">
					<tr>
						<td><label for="oldpass"><?php echo $this->_config[0]['vars']['oldpass']; ?>
:</label></td>
						<td class="right"><input type = "password" class="text" name = "oldpass" id = "oldpass" autocomplete="off" /></td>
					</tr>
				</tbody>

				<tbody class="color-a">
					<tr>
						<td><label for="newpass"><?php echo $this->_config[0]['vars']['newpass']; ?>
:</label></td>
						<td class="right"><input type = "password" name = "newpass" id = "newpass" autocomplete="off" /></td>
					</tr>
				</tbody>

				<tbody class="color-b">
					<tr>
						<td><label for="repeatpass"><?php echo $this->_config[0]['vars']['repeatpass']; ?>
:</label></td>
						<td class="right"><input type = "password" name = "repeatpass" id = "repeatpass" autocomplete="off" /></td>
					</tr>
				</tbody>

				<tbody class="color-a">
					<tr>
						<td></td>
						<td class="right">
							<button type="submit" onfocus="this.blur()"><?php echo $this->_config[0]['vars']['send']; ?>
</button>
						</td>
					</tr>
				</tbody>

			</table>


		</div> 	</div> 
</td>
</tr>
</table>

</fieldset>
</form>

<?php echo '
		<script type = "text/javascript">
			new Control.Modal(\'ausloeser\',{
			opacity: 0.8,
			position: \'absolute\',
			width: 480,
			height: 480,
			fade:true,
			containerClassName: \'pics\',
			overlayClassName: \'useroverlay\'
	      }); 
	      
	    </script>
'; ?>

</div> 
<div class="content-spacer"></div>

</div> </div> </div> 
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "sidebar-a.tpl", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "footer.tpl", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>